Fix IMAGE_REPO to include ghcr.io registry prefix for forks#3
Merged
chaptersix merged 1 commit intomainfrom Nov 21, 2025
Merged
Fix IMAGE_REPO to include ghcr.io registry prefix for forks#3chaptersix merged 1 commit intomainfrom
chaptersix merged 1 commit intomainfrom
Conversation
The metadata step was only setting image_repo to the repository owner
(e.g., 'chaptersix') instead of the full registry path ('ghcr.io/chaptersix').
This caused Docker to try pushing to Docker Hub instead of GHCR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The metadata step was only setting
image_repoto the repository owner (e.g.,chaptersix) instead of the full registry path (ghcr.io/chaptersix). This caused Docker to try pushing to Docker Hub instead of GHCR, resulting in:Solution
Updated the metadata step in
.github/workflows/build-and-publish.ymlto include theghcr.io/prefix for non-temporalio forks:This ensures the IMAGE_REPO environment variable passed to docker-bake has the full registry path.
Testing
After merging, create a new release to verify images are published to
ghcr.io/chaptersix/temporal-cli.